package com.globallogic.model.dao;

import java.util.List;

import com.globallogic.model.entity.EntityInterface;

public interface CommonDao<T, T1> {

	public T insert(T t);
	public <T2 extends EntityInterface<T1>> T2 update(T2 t);
    public boolean delete(int Id);
	public T getById(int id);
	public List<T> getAll();

}
